<template>
	<div>dfssd</div>
</template>

<script>
	
	export default {
		name: 'login',
		data() {
			return {
				parentMsg: '33333'
			}
		},
		components: {
		
		}, //这里注册
		methods: {
			
		},
		mounted() {
		
		},
		computed: {
			
		},
		beforeRouteLeave(to, from, next) {
			//	导航离开该组件的对应路由时调用
			//	可以访问组件实例 `this`
			console.log('宝宝离开这个页面了000000000'+from)
			//	next(to)
			//	this.$route.route.go('/404')
			next();
		}

	}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
	
</style>